package server;

import model.Inventory;

public class InventoryRepository
extends BaseRepository
{
	public void create(Inventory inventory)
	{
		getService().put(inventory);
	}
	
	public void deleteById(String pId)
	{
		getService().delete(Inventory.class, pId);
	}
	
	public Inventory getById(String pId)
	{
		return getService().get(Inventory.class, pId);
	}
}
